home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / osi / isode / vmsisode / vmsisode80_tar.Z / vmsisode80_tar / sockit / gccinclude / secdef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-04-24  |  1.4 KB  |  76 lines

  1. /*    SECDEF - Image Section Flag Bit and Match Constant Definitions          */
  2.  
  3. #define SEC$V_VPX    0
  4. #define SEC$V_PFC    24
  5. #define SEC$V_GBL    0
  6. #define SEC$V_CRF    1
  7. #define SEC$V_DZRO    2
  8. #define SEC$V_WRT    3
  9. #define SEC$V_SHMGS    4
  10. #define SEC$V_WRTMOD    6
  11. #define SEC$V_AMOD    8
  12. #define SEC$V_PERM    14
  13. #define SEC$V_SYSGBL    15
  14. #define SEC$V_PFNMAP    16
  15. #define SEC$V_EXPREG    17
  16. #define SEC$V_PROTECT    18
  17. #define SEC$V_PAGFIL    19
  18.  
  19. #define SEC$M_GBL    0x000001
  20. #define SEC$M_CRF    0x000002
  21. #define SEC$M_DZRO    0x000004
  22. #define SEC$M_WRT    0x000008
  23. #define SEC$M_SHMGS    0x000010
  24. #define SEC$M_WRTMOD    0x0000C0
  25. #define SEC$M_AMOD    0x000300
  26. #define SEC$M_PERM    0x004000
  27. #define SEC$M_SYSGBL    0x008000
  28. #define SEC$M_PFNMAP    0x010000
  29. #define SEC$M_EXPREG    0x020000
  30. #define SEC$M_PROTECT    0x040000
  31. #define SEC$M_PAGFIL    0x080000
  32.  
  33. #define SEC$S_PFC    8
  34. #define SEC$S_WRTMOD    2
  35. #define SEC$S_AMOD    2
  36. #define SEC$S_VPX    22
  37.  
  38. #define SEC$C_LENGTH    0x020
  39.  
  40. #define SEC$K_LENGTH    0x020
  41. #define SEC$K_MATALL    0
  42. #define SEC$K_MATEQU    1
  43. #define SEC$K_MATLEQ    2
  44.  
  45.  
  46. struct    SEC    {
  47.         long     sec$l_gsd;
  48. #define         sec$l_ccb    sec$l_gsd
  49.  
  50.         short    sec$w_secxfl;
  51.         short    sec$w_secxbl;
  52.         long    sec$l_vpxpfc;
  53.         long    sec$l_window;
  54.         long    sec$l_vbn;
  55.         short    sec$w_flags;
  56.  
  57.             unsigned : 16;
  58.  
  59.         long    sec$l_refcnt;
  60.         long    sec$l_pagcnt;
  61.         };
  62.  
  63. struct    {
  64.     unsigned    : 32;
  65.     unsigned    : 32;
  66.         unsigned    : 24;
  67.  
  68.     char    sec$b_pfc;
  69.  
  70.     unsigned    : 32;
  71.     unsigned    : 32;
  72.     unsigned    : 8;
  73.  
  74.     char    sec$b_amod;
  75.     };
  76.